// FrogExtractFolderDialog.h : Declaration of the CFrogAboutDialog

#pragma once


#include <atlhost.h>
#include "FrogBaseDialog.h"
#include "resource.h"       // main symbols


class CFrogAboutDialog: public CFrogBaseDialog<CFrogAboutDialog>
{
public:
	CFrogAboutDialog(HICON hIcon):
	  CFrogBaseDialog(hIcon)
	  {
	  }

	  enum { IDD = IDD_DIALOG_ABOUT };

	  BEGIN_MSG_MAP(CFrogAboutDialog)
		  MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog)
		  COMMAND_HANDLER(IDOK, BN_CLICKED, OnClickedOK)
		  COMMAND_HANDLER(IDCANCEL, BN_CLICKED, OnClickedCancel)
		  COMMAND_HANDLER(IDC_BUTTON_CHECK_UPDATES, BN_CLICKED, OnBnClickedButtonCheckUpdates)
		  // FrogBaseDialog Inherited		  
		  CHAIN_MSG_MAP(CFrogBaseDialog)
	  END_MSG_MAP()

	  // Handler prototypes:
	  //  LRESULT MessageHandler(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
	  //  LRESULT CommandHandler(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled);
	  //  LRESULT NotifyHandler(int idCtrl, LPNMHDR pnmh, BOOL& bHandled);

	  LRESULT OnInitDialog(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
	  LRESULT OnClickedOK(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled);

private:
	CHyperLink m_FrogDotComLink;
	CHyperLink FamFamFamDotComLink;

public:
	LRESULT OnBnClickedButtonCheckUpdates(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/);
};


